<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>



<div class="section">
<h3>Pay with Miles</h3>
<br />
<br />

Total number miles required: ${flightQuery.numberPassengers * 25000}

<br />
You have ${customer.milesAccumulated} miles.



	<div class="buttonGroup">
	
	<c:if test="${(flightQuery.numberPassengers * 25000 <= customer.milesAccumulated )}">		
		<a href="javascript: showDialog('Booking flight ....', null, '${flowExecutionUrl}&_eventId=proceed');">Book Flight</a>	
	</c:if>

	<a href="${flowExecutionUrl}&_eventId=cancel">Select Another Payment</a>
	
	</div>


</div>